<%--
  Created by IntelliJ IDEA.
  User: 白菜你个cabbage
  Date: 2019/10/12
  Time: 15:37
  To change this template use File | Settings | File Templates.
--%>
<%--编写两个页面practice.jsp和computer.jsp，--%>
<%--在页面practice.jsp中使用include动作标记动态包含文件computer.jsp，并向它传递一个矩形的长和宽；--%>
<%--computer.jsp收到参数后，计算矩形面积，并显示计算结果--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>COMPUTER</title>
</head>
<body>
<%
    String R = request.getParameter("R");
    int s = Integer.parseInt(R);
    int circle = s * s;
    out.println("circle的值" + circle);
%>
</body>
</html>
